/**
 * 
 */
package neptune.manager.validator.allocability;

import neptune.manager.NeptuneManager;
import neptune.manager.model.topology.IPAddress;
import neptune.manager.validator.core.CoreNodeValidator;
import neptune.manager.validator.core.CoreTopologyValidator;
import neptune.manager.validator.rules.netif.MacAddressDefinitionRule;
import neptune.manager.validator.rules.node.ControlIfDefinitionRule;

/**
 * @author Roberto Bifulco [RobertoBifulco.it] [info@robertoBifulco.it]
 * 
 */
public class AllocabilityTopologyValidator extends CoreTopologyValidator {

	public AllocabilityTopologyValidator(NeptuneManager neptuneManager,
			IPAddress experimentSubnet) {
		super(neptuneManager, experimentSubnet);

		nodeValidator.addRule(new ControlIfDefinitionRule());
		((CoreNodeValidator) nodeValidator).getNetIfValidator().addRule(
				new MacAddressDefinitionRule());
//		((CoreNodeValidator) nodeValidator).getNetIfValidator().addRule(
//				new OneIPAddressRule());
		
	}

}
